Total Complexity | 61 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 310 |
Lines of code | 221 |
Logical lines of code | 148 |
Comment lines | 30 |
Methods | 13 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
process_post() | 30 | 26 | 106 | |
add_post_to_posts_to_create() | 59 | 5 | 13 | |
mark_post_in_default_language() | 60 | 5 | 13 | |
handle_empty_titles() | 66 | 4 | 8 | |
replace_legacies_in_post_element() | 59 | 3 | 13 | |
add_custom_field_to_posts_to_create() | 59 | 3 | 13 | |
add_all_cf_to_posts_to_create() | 62 | 3 | 11 | |
add_serialized_custom_field_to_posts_to_create() | 66 | 3 | 8 | |
copy_post_status() | 66 | 3 | 8 | |
get_all_languages() | 67 | 2 | 8 | |
remove_icl_post_actions() | 66 | 2 | 9 | |
__construct() | 67 | 1 | 8 | |
get_custom_fields() | 77 | 1 | 3 |